package cn.itcast.pojo;


import java.io.Serializable;
import java.util.Date;

public class Emp implements Serializable {

    private Integer id;
    private String username;
    private String password;
    private Integer sal;
    private Date shijian;

    public Emp() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSal() {
        return sal;
    }

    public void setSal(Integer sal) {
        this.sal = sal;
    }

    public Date getShijian() {
        return shijian;
    }

    public void setShijian(Date shijian) {
        this.shijian = shijian;
    }

    public Emp(Integer id, String username, String password, Integer sal, Date shijian) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.sal = sal;
        this.shijian = shijian;
    }
}

